package com.huizu.goods.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.huizu.common.annotation.Excel;
import com.huizu.common.core.domain.BaseEntity;

/**
 * 店铺信息对象 shop_news
 * 
 * meidouhui
 * @date 2021-12-06
 */
public class ShopNews extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 店铺logo */
    @Excel(name = "店铺logo")
    private String logo;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String name;

    /** 联系人 */
    @Excel(name = "联系人")
    private String people;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 简介 */
    @Excel(name = "简介")
    private String content;

    /** 审核状态0待审核1已审核 */
    @Excel(name = "审核状态0待审核1已审核")
    private Integer status;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 店铺照片及营业执照信息 */
    private List<ShopImage> shopImageList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLogo(String logo) 
    {
        this.logo = logo;
    }

    public String getLogo() 
    {
        return logo;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPeople(String people) 
    {
        this.people = people;
    }

    public String getPeople() 
    {
        return people;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }

    public List<ShopImage> getShopImageList()
    {
        return shopImageList;
    }

    public void setShopImageList(List<ShopImage> shopImageList)
    {
        this.shopImageList = shopImageList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("logo", getLogo())
            .append("name", getName())
            .append("people", getPeople())
            .append("phone", getPhone())
            .append("address", getAddress())
            .append("content", getContent())
            .append("status", getStatus())
            .append("createDate", getCreateDate())
            .append("shopImageList", getShopImageList())
            .toString();
    }
}
